home *** CD-ROM | disk | FTP | other *** search
/ Enter Special 5: Digital Photography / ENTER Special 05.iso / Grafika / Paint Shop Pro 8.0 / psp800ev.exe / Data1.cab / Swatch_Geometric_01.PspScrip < prev    next >
Encoding:
Text File  |  2003-04-22  |  680 b   |  29 lines

  1. from JascApp import *
  2.  
  3. def ScriptProperties():
  4.     return {
  5.         'Author': '',
  6.         'Copyright': '',
  7.         'Description': ''
  8.         }
  9.  
  10. def Swatch_SetMaterial():
  11.     return {
  12.         'IsPrimary': App.Constants.Boolean.true, 
  13.         'NewMaterial': {
  14.             'Color': None, 
  15.             'Pattern': {
  16.                 'Name': 'Geometric 01', 
  17.                 'Image': None, 
  18.                 'Angle': 0.000000, 
  19.                 'Scale': 100.000000
  20.                 }, 
  21.             'Gradient': None, 
  22.             'Texture': None
  23.             }
  24.         }
  25.  
  26. def Do(Environment):
  27.     App.Do( Environment, 'SetMaterial',         Swatch_SetMaterial())
  28.  
  29.